From: Georges Basile Stavracas Neto Date: Thu, 30 Jan 2020 18:57:12 +0000 (-0300) Subject: shellEntry: Use seat to retrieve keymap X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~81 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=964106513e3f252411d0cb250f5d614e411fd596;p=gnome-shell.git shellEntry: Use seat to retrieve keymap The backend does not handle the keymap anymore; this is now handled by ClutterSeat. Use ClutterSeat to retrieve the default keymap. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/968 --- diff --git a/js/ui/shellEntry.js b/js/ui/shellEntry.js index 0488d70d0..3e304146e 100644 --- a/js/ui/shellEntry.js +++ b/js/ui/shellEntry.js @@ -164,7 +164,8 @@ class CapsLockWarning extends St.Label { this.clutter_text.ellipsize = Pango.EllipsizeMode.NONE; this.clutter_text.line_wrap = true; - this._keymap = Clutter.get_default_backend().get_keymap(); + let seat = Clutter.get_default_backend().get_default_seat(); + this._keymap = seat.get_keymap(); this.connect('notify::mapped', () => { if (this.is_mapped()) {